<div id="menu">
			<!--LISTS-->
			<ul class="menu clearfix">
				<li>
                                    <a href="<?php echo Yii::app()->getBaseUrl(true); ?>" title="Trang chủ">Trang chủ</a>
				</li>
                                <?php 
                                    $listMenuNav = Category::model()->getMenuNav();
                                    if($listMenuNav){
                                        foreach ($listMenuNav as $value) {
                                            
                                            ?>
                                                <li>
                                                    <a href="<?php echo $this->createUrl('/product/list', array('id' => $value->id))?>"><?php echo $value['name'] ?></a>
                                                    
                                                        <?php
                                                            $listMenuSub1 = Category::model()->getMenuSub($value->id, $value->level+1);
                                                            if($listMenuSub1){  
                                                                ?>
                                                                <div class="dropdown span9">
                                                                 <?php
                                                                foreach ($listMenuSub1 as $value1) {
                                                                    ?>
                                                                        <div class="span2">
                                                                            <a href="<?php echo $this->createUrl('/product/list', array('id' => $value1->id))?>"><h4><?php echo $value1->name; ?></h4></a>
                                                                            <?php
                                                                                $listMenuSub2 = Category::model()->getMenuSub($value1->id, $value1->level+1);
                                                                                    if($listMenuSub2){
                                                                                        echo "<ul>";
                                                                                        foreach ($listMenuSub2 as $value2) {
                                                                                            echo "<li><a href='".$this->createUrl("/product/list", array("id" => $value2->id))."'>".$value2->name."</a></li>";
                                                                                        }
                                                                                        echo "</ul>";
                                                                                    }
                                                                            ?>
                                                                        </div>
                                                                        
                                                                    <?php
                                                                }
                                                                ?>
                                                                <div class="menu-portrait fr">
                                                                    <img src="<?php echo Yii::app()->getBaseUrl(true); ?>/img/background-menu.png"/>
                                                                </div>
                                                            </div>
                                                                <?php
                                                                
                                                            }
                                                        ?>
                                                        
                                                </li>
                                            <?php
                                        }
                                    }
                                ?>
				<li>
                                    <a href="#">Tuyển dụng</a>
				</li>
				<li>
                                    <a href="#">Tin tức</a>
				</li>
				<li><a href="<?php echo $this->createUrl('/site/contact'); ?>">Liên hệ</a></li>
			</ul>
			<!--/LISTS-->
		</div>